using System;
using System.Xml;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace Dashboard
{
	public class MatchMessage : Message
	{
		private string relation = null;
		private List<Match> matches = new List<Match> ();

		public MatchMessage () : base ("/event/match/found") 
		{
		}

		[XmlAttribute]
		public string Relation
		{
			get { return relation; }
			set { relation = value; }
		}

		public List<Match> Matches
		{
			get { return matches; }
			set { matches = value; }
		}
	}
}
